<!-- =========================
			SERVICES
			============================== -->
		<section class="services" id="services">
			<div class="container-fuild">
				
				<!-- SECTION HEADER -->			
				<div class="section-header wow fadeIn animated" data-wow-offset="10" data-wow-duration="1.5s">
					<h3 class="h301"><?php echo Yii::app()->params['text_service1']?></h3>
					<p class="h3-info"><?php echo Yii::app()->params['text_service2']?></p>
				</div>
				
			</div>
			<?php
			if(isset($services)):?>
			<div class="container service_inn">
				<!-- /END SECTION HEADER -->    
				<div class="row">
					<!-- SINGLE SERVICE -->
					<?php
						foreach ($services as $key => $value):
							$url = '';
							if($value['menu']['parent_id'] !== null){
								$parent = MyFunctionCustom::getParentMenuById($value['menu']['parent_id']);
								$url = $parent['url'] .'/';
							}
							?>
							<div class="col-sm-4 single-service wow fadeIn animated" data-wow-offset="10" data-wow-duration="1.5s">
								<div class="single-service-inn">
									<!-- SERVICE ICON -->
									<p class="hoverimg">
										<a href="<?php echo Yii::app()->baseUrl?>/<?php echo $url. $value['menu']['url'] .'/'. $value['url'].'-' . $value['id']?>.html">
											<img src="<?php echo Yii::app()->baseUrl?>/images/<?php echo $value['cover_photo']?>" alt="<?php echo $value['title']?>" />
										</a></p>
									<!-- SERVICE HEADING -->
									<h4><a href="<?php echo Yii::app()->baseUrl?>/<?php echo $url. $value['menu']['url'] .'/'. $value['url'].'-' . $value['id']?>.html"><?php echo $value['title']?></a></h4>
									<!-- SERVICE DESCRIPTION -->
									<p class="des"><?php echo strip_tags($value['short_description'])?></p>
									<p class="link">
										<a href="<?php echo Yii::app()->baseUrl?>/<?php echo $url. $value['menu']['url'] .'/'. $value['url'].'-' . $value['id']?>.html">Read more</a>
									</p>
								</div>
							</div>
						<?php 
							endforeach;?>
					<!-- /END SINGLE SERVICE -->
				</div>
				<!-- /END ROW --> 
			</div>
			<!-- /END CONTAINER --> 
			<?php endif;?>
		</section>
		<!-- /END FEATURES SECTION -->